package newXgame.utils.struct
{
	import flash.display.Sprite;
	import flash.geom.Rectangle;
	
	public class SpriteDragStruct extends Object
	{
		public var spr:Sprite;
		public var isMouse:Boolean;
		public var rect:Rectangle;
		
		public function SpriteDragStruct(mc:Sprite, flag:Boolean, rec:Rectangle)
		{
			this.spr = mc;
			this.isMouse = flag;
			this.rect = rect;
		}
		
		public function toString():String
		{
			return spr.name + " is " + isMouse + " :: " + rect;
		}
	}
}